package com.ldk.springboot2021;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
//主启动类
@SpringBootApplication
//当主启动类启动的时候，扫描持久层接口所在的包，Spring为这个包下的所有接口生成代理实现类
@MapperScan(value = "com.ldk.springboot2021.mapper")
public class Springboot2021Application {

    public static void main(String[] args) {
        SpringApplication.run(Springboot2021Application.class, args);
    }

}
